package com.prs.crm.service.project;

import org.courser.ui.PaginationSupport;

import com.prs.crm.domain.hr.Person;
import com.prs.crm.domain.project.TaskPerusal;
import com.prs.crm.service.SimpleFlowService;

/**
 * 任务传阅Service
 * @author prs.chenzhi
 *
 */
public interface TaskPerusalService extends SimpleFlowService<TaskPerusal>{


	/**
	 * 创建传阅
	 * @param perusal
	 * @param audit
	 */
	void createTaskPerusal(TaskPerusal perusal,String recivers,boolean audit);
	
	/**
	 * 列出转交提交历史
	 * @param page
	 * @param recorder 提交人
	 * @return
	 */
	PaginationSupport listVerifyPersualHistory(PaginationSupport page,Person recorder);
	
	/**
	 * 列出我接收到的传阅任务
	 * @param page
	 * @param joiner
	 * @return
	 */
	PaginationSupport listPerusalTask(PaginationSupport page,Person joiner);
}
